home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / daten / ispell / source / addons / nextispell / makefile < prev    next >
Makefile  |  1995-01-23  |  850b  |  36 lines

  1. #
  2. # Makefile for nextispell.
  3. #
  4. # Created by Moritz Willers.
  5. #
  6. # 4. Januar 1994
  7. # Version 0.2
  8. #
  9.  
  10. NAME = nextispell
  11. INSTALLDIR = ${HOME}/Library
  12.  
  13. CFLAGS = -O -Wall
  14.  
  15. all: ${NAME}
  16.     rm -rf ${NAME}.service
  17.     mkdir ${NAME}.service
  18.     mv ${NAME} ${NAME}.service/
  19.     if [ -f services ]; then touch services; else cp services.template  services; fi
  20.     mv services ${NAME}.service/
  21.     strip ${NAME}.service/${NAME}
  22.  
  23. ${NAME}: nextispell.m
  24.     if [ -f configure.h ]; then touch configure.h; else cp configure.h.template  configure.h; fi
  25.     cc ${CFLAGS} -o ${NAME} nextispell.m -lNeXT_s
  26.     rm -f configure.h
  27.  
  28. install: all
  29.     if [ -d $(INSTALLDIR)/Services/${NAME}.service ]; then rm -Rf $(INSTALLDIR)/Services/${NAME}.service/; fi
  30.     cp -r ${NAME}.service $(INSTALLDIR)/Services/
  31.     rm -Rf ${NAME}.service
  32.     echo "Don't forget to execute: make_services"
  33. clean:
  34.     rm -Rf ${NAME}.service
  35.     
  36.